package com.gds.wiki.cloud.admin.client.sys.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:wiki
 * @Date:Create in 2018/7/26 0026 下午 8:03
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
public class AdminUserDto {

    private Long id;
    //年龄

    private Integer age ;
    //组织架构id

    private String deptName ;

    private Long deptId;

    private String roleName;

    private String roleIds;
    //性别（0男1女）
    private Integer sex ;

    //0停用1正常
    private Integer status ;

    //登录账号
    private String loginname ;

    //姓名
    private String name ;

    //电话
    private String phone ;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime ;

    @ApiModelProperty(value = "创建人id")
    private Long createBy;
}
